﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YongHuFYXX.aspx.cs" Inherits="Web.Pages.YongShui.YongHuFYXX" Theme="Default" %>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../../../JS/AddEditCancel.js"></script>
    <script src="../../../JS/jquery.js"></script>
    <script type="text/javascript">

        //计算文本值
        function recountVal(isSubmit) {
            //总新水量
            var valSum = 0;
            if (txtLENGQUESXSL.GetText() != "") {
                valSum = valSum + Number(txtLENGQUESXSL.GetText());
            }
            if (txtGONGYISXSL.GetText() != "") {
                valSum = valSum + Number(txtGONGYISXSL.GetText());
            }
            if (txtGUOLUSXSL.GetText() != "") {
                valSum = valSum + Number(txtGUOLUSXSL.GetText());
            }
            if (txtSHENGHUOYSXSL.GetText() != "") {
                valSum = valSum + Number(txtSHENGHUOYSXSL.GetText());
            }
            if (txtQITAXSL.GetText() != "") {
                valSum = valSum + Number(txtQITAXSL.GetText());
            }
            txtZONGXINSI.SetText(valSum);
            //$("#txtZONGXINSI_I").val(valSum);
            //txtZONGXINSI.innerText = valSum;
            //重复利用水量
            valSum = 0;
            if (txtLENGQUESFYL.GetText() != "") {
                valSum = valSum + Number(txtLENGQUESFYL.GetText());
            }
            if (txtGONGYISFYL.GetText() != "") {
                valSum = valSum + Number(txtGONGYISFYL.GetText());
            }
            if (txtLENGLINGSFYL.GetText() != "") {
                valSum = valSum + Number(txtLENGLINGSFYL.GetText());
            }
            if (txtSHENGHUOYSFYL.GetText() != "") {
                valSum = valSum + Number(txtSHENGHUOYSFYL.GetText());
            }
            txtZONGFUYL.SetText(valSum);
            $("#txtZONGFUYL_I").val(valSum);
            //txtZONGFUYL.innerText = valSum;            
            //冷却水总用量
            valSum = 0;
            if (txtLENGQUESXSL.GetText() != "") {
                valSum = valSum + Number(txtLENGQUESXSL.GetText());
            }
            if (txtLENGQUESFYL.GetText() != "") {
                valSum = valSum + Number(txtLENGQUESFYL.GetText());
            }
            txtLENGQUESZYL.SetText(valSum);
            $("#txtLENGQUESZYL_I").val(valSum);
            //txtLENGQUESZYL.innerText = valSum;
            //工艺水总用量
            valSum = 0;
            if (txtGONGYISXSL.GetText() != "") {
                valSum = valSum + Number(txtGONGYISXSL.GetText());
            }
            if (txtGONGYISFYL.GetText() != "") {
                valSum = valSum + Number(txtGONGYISFYL.GetText());
            }
            txtGONGYISZYL.SetText(valSum);
            $("#txtGONGYISZYL_I").val(valSum);
            //txtGONGYISZYL.innerText = valSum;
            //锅炉水总用量
            valSum = 0;
            if (txtGUOLUSXSL.GetText() != "") {
                valSum = valSum + Number(txtGUOLUSXSL.GetText());
            }
            if (txtLENGLINGSFYL.GetText() != "") {
                valSum = valSum + Number(txtLENGLINGSFYL.GetText());
            }
            txtGUOLUSZYL.SetText(valSum);
            $("#txtGUOLUSZYL_I").val(valSum);
            //txtGUOLUSZYL.innerText = valSum;
            //生活水总用量
            valSum = 0;
            if (txtSHENGHUOYSXSL.GetText() != "") {
                valSum = valSum + Number(txtSHENGHUOYSXSL.GetText());
            }
            if (txtSHENGHUOYSFYL.GetText() != "") {
                valSum = valSum + Number(txtSHENGHUOYSFYL.GetText());
            }
            txtSHENGHUOYSZYL.SetText(valSum);
            $("#txtSHENGHUOYSZYL_I").val(valSum);
            //txtSHENGHUOYSZYL.innerText = valSum;
            //总用水量
            //debugger;
            valSum = 0;
            if ($("#txtZONGXINSI_I").val() != "") {
                valSum = valSum + Number($("#txtZONGXINSI_I").val());
            }
            if ($("#txtZONGFUYL_I").val() != "") {
                valSum = valSum + Number($("#txtZONGFUYL_I").val());
            }
            txtZONGYONGSL.SetText(valSum);
            //重复利用率           
            if (txtZONGYONGSL.GetText() == "" || txtZONGYONGSL.GetText() == "0") {
                valSum = "";
            }
            else {
                valSum = (txtZONGFUYL.GetText() == "") ? 0 : txtZONGFUYL.GetText();
                valSum = parseFloat(valSum * 100 / txtZONGYONGSL.GetText()).toFixed(2);
            }
            txtCHONGFULYL.SetText(valSum);
            //冷却水循环率
            if (txtLENGQUESZYL.GetText() == "" || txtLENGQUESZYL.GetText() == "0") {
                valSum = "";
            }
            else {
                valSum = (txtLENGQUESFYL.GetText() == "") ? 0 : txtLENGQUESFYL.GetText();
                valSum = parseFloat(valSum * 100 / txtLENGQUESZYL.GetText()).toFixed(2);
            }
            txtLENGQUEXHL.SetText(valSum);

            //工艺水回用率
            if (txtGONGYISZYL.GetText() == "" || txtGONGYISZYL.GetText() == "0") {
                valSum = "";
            }
            else {
                valSum = (txtGONGYISFYL.GetText() == "") ? 0 : txtGONGYISFYL.GetText();
                valSum = parseFloat(valSum * 100 / txtGONGYISZYL.GetText()).toFixed(2);
            }
            txtGONGYIHYL.SetText(valSum);
            //生活水回用率
            if (txtSHENGHUOYSZYL.GetText() == "" || txtSHENGHUOYSZYL.GetText() == "0") {
                valSum = "";
            }
            else {
                valSum = (txtSHENGHUOYSFYL.GetText() == "") ? 0 : txtSHENGHUOYSFYL.GetText();
                valSum = parseFloat(valSum * 100 / txtSHENGHUOYSZYL.GetText()).toFixed(2);
            }
            txtSHENGHUOHYL.SetText(valSum);
            //冷凝水回用率
            if (txtGUOLUSZYL.GetText() == "" || txtGUOLUSZYL.GetText() == "0") {
                valSum = "";
            }
            else {
                valSum = (txtLENGLINGSFYL.GetText() == "") ? 0 : txtLENGLINGSFYL.GetText();
                valSum = parseFloat(valSum * 100 / txtGUOLUSZYL.GetText()).toFixed(2);
            }
            txtLENGLINGHYL.SetText(valSum);
            //万元产值新水量
            if (txtZONGCHANZ.GetText() == "" || txtZONGCHANZ.GetText() == "0") {
                valSum = "";
            }
            else {
                valSum = (txtZONGXINSI.GetText() == "") ? 0 : txtZONGXINSI.GetText();
                valSum = parseFloat(valSum / txtZONGCHANZ.GetText()).toFixed(2);
            }
            txtXINSHUILDH.SetText(valSum);
            //按钮提交时的其他判断
            if (isSubmit) {
                /*
                //判断总新水量是否等于自来水新水量+地下水新水量+地表水新水量
                valSum = 0;
                if (txtZILAISYSL.GetText() != "") {
                    valSum = valSum + Number(txtZILAISYSL.GetText());
                }
                if (txtDIXIASYSL.GetText() != "") {
                    valSum = valSum + Number(txtDIXIASYSL.GetText());
                }
                if (txtDIBIAOSYSL.GetText() != "") {
                    valSum = valSum + Number(txtDIBIAOSYSL.GetText());
                }
                if (txtZONGXINSI.GetText() != valSum) {
                    alert("总新水量不等于各新水量之和。");
                    return false;
                }
                */
            }
            return true;
        }

        function del(id) {
            var iYM = gvList1.GetRowKey(gvList1.GetFocusedRowIndex());
            var ym = hdCollection.Get("ym");
            if (iYM != ym) {
                return;
            }
            if (confirm('确认删除吗?')) {
                LoadPanel.Show();
                hdCollection.Set("ID", id);
                ASPxCallback1.PerformCallback("del");
            }
        }

        function save()
        {
            if (recountVal(true))
            {
                LoadPanel.Show();
                ASPxCallback1.PerformCallback("save");
            }
        }

        function display(op, id) {
            hdCollection.Set("ID", id);
            var iYM = gvList1.GetRowKey(gvList1.GetFocusedRowIndex());
            var ym = hdCollection.Get("ym");
            //if (iYM != ym) {
            //    return;
            //}
            if (op == "edit") {
                ASPxCallback1.PerformCallback("edit");                
                
            }
            else {
                $("#GridViewContentTable").hide();
                btnExport.SetVisible(true);
                LoadPanel.Hide();
            }
        }
    </script>
    <script type="text/javascript">

        function ASPxCallback1Complete(rs) {
            var arr = rs.split('|');
            var type = arr[0];
            var state = arr[1];
            var specialIdentity = arr[2];
            var msg = arr[3].split('-');
            LoadPanel.Hide();
            if (msg[0] == 'True') {
                alert(msg[1]);
            }
            //debugger;
            hdCollection.Set("type", type);
            if (state == 'True') {
                if (type == "del") {
                    btnSearch.onClick();
                }
                else if (type == "edit") {                   
                        txtCHANPIN1.SetText(arr[4]);
                        txtCHANPIN2.SetText(arr[5]);
                        txtCHANPIN3.SetText(arr[6]);
                        txtCHANPINYCL1.SetText(arr[7]);
                        txtCHANPINYCL2.SetText(arr[8]);
                        txtCHANPINYCL3.SetText(arr[9]);
                        txtCHONGFULYL.SetText(arr[10]);
                        txtCHUANLIANYSFYL.SetText(arr[11]);
                        txtDANWEICPXSL1.SetText(arr[12]);
                        txtDANWEICPXSL2.SetText(arr[13]);
                        txtDANWEICPXSL3.SetText(arr[14]);
                        txtDIBIAOSYSL.SetText(arr[15]);
                        txtDIXIASYSL.SetText(arr[16]);
                        txtGONGYIHYL.SetText(arr[17]);
                        txtGONGYISFYL.SetText(arr[18]);
                        txtGONGYISXSL.SetText(arr[19]);
                        txtGONGYISZYL.SetText(arr[20]);
                        txtGUOLUCQL.SetText(arr[21]);
                        txtGUOLUSXSL.SetText(arr[22]);
                        txtGUOLUSZYL.SetText(arr[23]);
                        txtJu.SetText(arr[24]);
                        txtLENGLINGHYL.SetText(arr[25]);
                        txtLENGLINGSFYL.SetText(arr[26]);
                        txtLENGQUESFYL.SetText(arr[27]);
                        txtLENGQUESXSL.SetText(arr[28]);
                        txtLENGQUESZYL.SetText(arr[29]);
                        txtLENGQUEXHL.SetText(arr[30]);
                        txtQITAXSL.SetText(arr[31]);
                        txtSHENGHUOHYL.SetText(arr[32]);
                        txtSHENGHUOYSFYL.SetText(arr[33]);
                        txtSHENGHUOYSXSL.SetText(arr[34]);
                        txtSHENGHUOYSZYL.SetText(arr[35]);
                        txtSHIJIYL.SetText(arr[36]);
                        txtXINSHUILDH.SetText(arr[37]);
                        txtYongHuH.SetText(arr[38]);
                        txtYongHuM.SetText(arr[39]);
                        txtZILAISYSL.SetText(arr[40]);
                        txtZONGCHANZ.SetText(arr[41]);
                        txtZONGFUYL.SetText(arr[42]);
                        txtZONGXINSI.SetText(arr[43]);
                        txtZONGYONGSL.SetText(arr[44]);
                        $("#GridViewContentTable").show();
                        btnExport.SetVisible(false);
                }
                else if (type == "save") {
                    btnSearch.onClick();
                }
            }
            else {
            }
        }


    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            用户复用信息
        </div>
        <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
                <dx:ASPxHiddenField ID="hdCollection" ClientInstanceName="hdCollection" runat="server"></dx:ASPxHiddenField>
                <dx:ASPxCallback ID="ASPxCallback1" ClientInstanceName="ASPxCallback1" runat="server" OnCallback="ASPxCallback1_Callback" ClientSideEvents-CallbackComplete="function(s,e){ASPxCallback1Complete(e.result);}"></dx:ASPxCallback>
                <dx:ASPxLoadingPanel ID="ASPxLoadingPanel1" ClientInstanceName="LoadPanel" runat="server" Text="加载中..."></dx:ASPxLoadingPanel>
                <div>
                    <table style="width: 100%">
                        <tr>
                            <td style="text-align: right; width: 7%">水量年：
                            </td>
                            <td style="width: 6%">
                                <dx:ASPxComboBox ID="concmbY" ClientInstanceName="concmbY" runat="server" ValueType="System.String" Width="100%">
                                </dx:ASPxComboBox>
                            </td>
                            <td style="text-align: right; width: 7%">水量月：
                            </td>
                            <td style="width: 6%">
                                <dx:ASPxComboBox ID="concmbM" ClientInstanceName="concmbM" runat="server" ValueType="System.String" Width="100%" HorizontalAlign="Center">
                                </dx:ASPxComboBox>
                            </td>
                            <td style="text-align: right; width: 8%">管理部门：
                            </td>
                            <td style="width: 9%">
                                <dx:ASPxComboBox ID="concmbZhanDian" runat="server" ValueType="System.String" Width="100%" AutoPostBack="false">
                                    <ClientSideEvents SelectedIndexChanged="function(s,e){concmbGuanLiK.PerformCallback();concmbYWY.PerformCallback();}" />
                                </dx:ASPxComboBox>

                            </td>
                            <td style="text-align: right; width: 8%">管理块：
                            </td>
                            <td style="width: 7%">
                                <dx:ASPxComboBox ID="concmbGuanLiK" ClientInstanceName="concmbGuanLiK" runat="server" ValueType="System.String" Width="100%" OnCallback="concmbGuanLiK_Callback">
                                </dx:ASPxComboBox>
                            </td>
                            <td style="text-align: right; width: 8%">业务员：
                            </td>
                            <td style="width: 7%">
                                <dx:ASPxComboBox ID="concmbYWY" ClientInstanceName="concmbYWY" runat="server" ValueType="System.String" Width="100%" OnCallback="concmbYWY_Callback">
                                </dx:ASPxComboBox>
                            </td>
                            <td style="text-align: right; width: 7%">行政区：
                            </td>
                            <td style="width: 7%">
                                <dx:ASPxComboBox ID="concmbXingZhengQ" runat="server" ValueType="System.String" Width="100%">
                                </dx:ASPxComboBox>
                            </td>
                            <td style="width: 13%">
                                <dx:ASPxLabel ID="lblRecordCount" runat="server" Text="共有0条记录"></dx:ASPxLabel>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">用户号：
                            </td>
                            <td colspan="3">
                                <dx:ASPxTextBox ID="contxtYongHuH" runat="server" Width="100%"></dx:ASPxTextBox>
                            </td>
                            <td style="text-align: right;">输入类型：
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="concmbShuRuLX" runat="server" ValueType="System.String" Width="100%">
                                    <Items>
                                        <dx:ListEditItem Text="全部" Value="" Selected="true" />
                                        <dx:ListEditItem Text="已输入用户" Value="0" />
                                        <dx:ListEditItem Text="未输入用户" Value="-1" />
                                    </Items>
                                </dx:ASPxComboBox>
                            </td>
                            <td style="text-align: right;">用水性质：
                            </td>
                            <td>
                                <dx:ASPxComboBox ID="concmbYongShuiXZ" runat="server" ValueType="System.String" Width="100%">
                                    <Items>
                                        <dx:ListEditItem Text="全部" Value="" />
                                        <dx:ListEditItem Text="工业" Value="G" />
                                        <dx:ListEditItem Text="非工业" Value="F" />
                                    </Items>
                                </dx:ASPxComboBox>
                            </td>
                            <td style="text-align: right;">行业类型：
                            </td>
                            <td colspan="3">
                                <dx:ASPxComboBox ID="concmbHangYeLX" runat="server" ValueType="System.String" Width="100%">
                                </dx:ASPxComboBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                <table style="width: 100%">
                                    <tr>
                                        <td style="width: 2.5%"></td>
                                        <td style="width: 50%">
                                            <dx:ASPxComboBox ID="concmbYongShuiZBL" runat="server" ValueType="System.String" Width="100%">
                                                <Items>
                                                    <dx:ListEditItem Text="" Value="" />
                                                    <dx:ListEditItem Text="重复利用水量" Value="I_ZONGFUYL" />
                                                    <dx:ListEditItem Text="冷却水循环量" Value="I_LENGQUESFYL" />
                                                    <dx:ListEditItem Text="工艺水回用量" Value="I_GONGYISFYL" />
                                                    <dx:ListEditItem Text="冷凝水回用量" Value="I_LENGLINGSFYL" />
                                                    <dx:ListEditItem Text="生活水回用量" Value="I_SHENGHUOYSFYL" />
                                                    <dx:ListEditItem Text="串联水量" Value="I_CHUANLIANYSFYL" />
                                                </Items>
                                            </dx:ASPxComboBox>
                                        </td>
                                        <td style="width: 20%">
                                            <dx:ASPxComboBox ID="concmbYongShuiZBLPre" runat="server" ValueType="System.String" HorizontalAlign="Center" Width="100%">
                                                <Items>
                                                    <dx:ListEditItem Text="" Value="" />
                                                    <dx:ListEditItem Text="=" Value="=" />
                                                    <dx:ListEditItem Text=">" Value=">" />
                                                    <dx:ListEditItem Text=">=" Value=">=" />
                                                    <dx:ListEditItem Text="<" Value="<" />
                                                    <dx:ListEditItem Text="<=" Value="<=" />
                                                    <dx:ListEditItem Text="<>" Value="<>" />
                                                </Items>
                                            </dx:ASPxComboBox>
                                        </td>
                                        <td>
                                            <dx:ASPxTextBox ID="contxtYongShuiZBL" runat="server" Width="100%">
                                                <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td colspan="4">
                                <table style="width: 100%">
                                    <tr>
                                        <td style="width: 50%">
                                            <dx:ASPxComboBox ID="concmbYongShuiZBLV" runat="server" ValueType="System.String" Width="100%">
                                                <Items>
                                                    <dx:ListEditItem Text="" Value="" />
                                                    <dx:ListEditItem Text="重复利用率" Value="N_CHONGFULYL" />
                                                    <dx:ListEditItem Text="冷却水循环率" Value="N_LENGQUEXHL" />
                                                    <dx:ListEditItem Text="工艺水回用率" Value="N_GONGYIHYL" />
                                                    <dx:ListEditItem Text="冷凝水回用率" Value="N_LENGLINGHYL" />
                                                    <dx:ListEditItem Text="生活水回用率" Value="N_SHENGHUOHYL" />
                                                </Items>
                                            </dx:ASPxComboBox>
                                        </td>
                                        <td style="width: 20%">
                                            <dx:ASPxComboBox ID="concmbYongShuiZBLVPre" runat="server" ValueType="System.String" HorizontalAlign="Center" Width="100%">
                                                <Items>
                                                    <dx:ListEditItem Text="" Value="" />
                                                    <dx:ListEditItem Text="=" Value="=" />
                                                    <dx:ListEditItem Text=">" Value=">" />
                                                    <dx:ListEditItem Text=">=" Value=">=" />
                                                    <dx:ListEditItem Text="<" Value="<" />
                                                    <dx:ListEditItem Text="<=" Value="<=" />
                                                    <dx:ListEditItem Text="<>" Value="<>" />
                                                </Items>
                                            </dx:ASPxComboBox>
                                        </td>
                                        <td>
                                            <dx:ASPxTextBox ID="contxtYongShuiZBLV" runat="server" Width="100px">
                                                <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td colspan="4">
                                <table style="width: 100%">
                                    <tr>
                                        <td style="width: 50%">
                                            <dx:ASPxComboBox ID="concmbXinShuiL" runat="server" ValueType="System.String" Width="100%">
                                                <Items>
                                                    <dx:ListEditItem Text="" Value="" />
                                                    <dx:ListEditItem Text="总新水量" Value="I_ZONGXINSI" />
                                                    <dx:ListEditItem Text="冷却用新水量" Value="I_LENGQUESXSL" />
                                                    <dx:ListEditItem Text="工艺用新水量" Value="I_GONGYISXSL" />
                                                    <dx:ListEditItem Text="锅炉用新水量" Value="I_GUOLUSXSL" />
                                                    <dx:ListEditItem Text="生活用新水量" Value="I_SHENGHUOYSXSL" />
                                                    <dx:ListEditItem Text="其他新水量" Value="I_QITAXSL" />
                                                    <dx:ListEditItem Text="自来水新水量" Value="I_ZILAISYSL" />
                                                    <dx:ListEditItem Text="地下水新水量" Value="I_DIXIASYSL" />
                                                    <dx:ListEditItem Text="地表水新水量" Value="I_DIBIAOSYSL" />
                                                </Items>
                                            </dx:ASPxComboBox>
                                        </td>
                                        <td style="width: 20%">
                                            <dx:ASPxComboBox ID="concmbXinShuiLPre" runat="server" ValueType="System.String" HorizontalAlign="Center" Width="100%">
                                                <Items>
                                                    <dx:ListEditItem Text="" Value="" />
                                                    <dx:ListEditItem Text="=" Value="=" />
                                                    <dx:ListEditItem Text=">" Value=">" />
                                                    <dx:ListEditItem Text=">=" Value=">=" />
                                                    <dx:ListEditItem Text="<" Value="<" />
                                                    <dx:ListEditItem Text="<=" Value="<=" />
                                                    <dx:ListEditItem Text="<>" Value="<>" />
                                                </Items>
                                            </dx:ASPxComboBox>
                                        </td>
                                        <td>
                                            <dx:ASPxTextBox ID="contxtXinShuiL" runat="server" Width="100px">
                                                <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <dx:ASPxButton ID="btnSearch" ClientInstanceName="btnSearch" runat="server" Text="查找" UseSubmitBehavior="false" OnClick="btnSearch_Click">
                                    <ClientSideEvents Click="function(s, e) {  
                                                                        LoadPanel.Show();  
                                                                }" />
                                </dx:ASPxButton>
                            </td>
                            <td>
                                <dx:ASPxButton ID="btnExportExcel" runat="server" Text="导出excel" UseSubmitBehavior="false">
                                    <ClientSideEvents Click="function(s,e){btnExport.OnClick();}" />
                                </dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                </div>
                <dx:ASPxGridView ID="gvList1" ClientInstanceName="gvList1" runat="server" AutoGenerateColumns="False" KeyFieldName="I_YM" 
                                        ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%"   EnableCallBacks="true">
                                        <Columns>
                        <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_YM" Caption="水量年月" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="YONGSHUIXZTV" Caption="用水性质" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="SHESHUIDXTV" Caption="行业类型" Width="300px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_CHONGFULYL" Caption="重复利用率" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_LENGQUEXHL" Caption="冷却循环率" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_GONGYIHYL" Caption="工艺回用率" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_SHENGHUOHYL" Caption="生活回用率" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_LENGLINGHYL" Caption="冷凝回用率" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_ZONGXINSI" Caption="总新水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_LENGQUESXSL" Caption="冷却水新水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_GONGYISXSL" Caption="工艺水新水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_GUOLUSXSL" Caption="锅炉水新水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_SHENGHUOYSXSL" Caption="生活用水新水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_QITAXSL" Caption="其他用水新水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_ZILAISYSL" Caption="自来水新水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_DIXIASYSL" Caption="地下水新水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_DIBIAOSYSL" Caption="地表水新水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_ZONGFUYL" Caption="总复用水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_LENGQUESFYL" Caption="冷却水复用量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_SHENGHUOYSFYL" Caption="生活水复用量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_CHUANLIANYSFYL" Caption="串联水复用量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_GUOLUCQL" Caption="锅炉产气量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_ZONGYONGSL" Caption="总用水量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_LENGQUESZYL" Caption="冷却水总用量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_GONGYISZYL" Caption="工艺水总用量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_GUOLUSZYL" Caption="锅炉水总用量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_SHENGHUOYSZYL" Caption="生活水总用量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_ZONGCHANZ" Caption="总产值" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_XINSHUILDH" Caption="新水量单耗" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_SHIJIYL" Caption="考核用量" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_CHANPIN1" Caption="产品1" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_DANWEICPXSL1" Caption="单位产品新水量1" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_CHANPINYCL1" Caption="产品月产量1" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_CHANPIN2" Caption="产品2" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_DANWEICPXSL2" Caption="单位产品新水量2" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_CHANPINYCL2" Caption="产品月产量2" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_CHANPIN3" Caption="产品3" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_DANWEICPXSL3" Caption="单位产品新水量3" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="N_CHANPINYCL3" Caption="产品月产量3" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_GUANLIKH" Caption="管理区块" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_XINGZHENGQH" Caption="行政区块" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="D_XIUGAIRQ" Caption="修改日期" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="I_XIUGAIR" Caption="修改人" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FixedStyle="Left" Width="45px">
                            <DataItemTemplate>
                                <a href="#" class="aOp" onclick="display('edit','<%#Eval("ID")%>')">修改</a>
                            </DataItemTemplate>
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FixedStyle="Left" Width="45px">
                            <DataItemTemplate>
                                <a href="#" class="aOp" onclick="del('<%#Eval("ID")%>')">删除</a>
                            </DataItemTemplate>
                        </dx:GridViewDataTextColumn>
                    </Columns>
                                        <Settings VerticalScrollBarMode="Visible"  HorizontalScrollBarMode="Auto" />
                                        <SettingsPager   Mode="EndlessPaging" PageSize="100"  />
                                        <Settings ShowFooter="True" />
                                        <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                        <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                        <ClientSideEvents Init="function(s,e){AdjustSize(280,gvList1);}"  />
                                    </dx:ASPxGridView>
                <div style="height: 3px;"></div>
                <div>
                    <table align="right">
                        <tr>
                            <td>
                                <dx:ASPxButton ID="btnExportToExcel"  ClientInstanceName="btnExport" runat="server" Text="导出到Excel" Visible="false"></dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="height: 2px;">
                </div>
                <div id="GridViewContentTable" runat="server" style="display:none;">
                    <div class="tabletitle1" align="center">
                        <asp:Label runat="server" ID="lblOperateTip">修改</asp:Label>
                    </div>
                    <div style="height: 2px;">
                    </div>
                    <div>
                        <table style="width: 100%;" border="0">
                            <tr>
                                <td style="text-align: right; width: 16%">用户号：
                                </td>
                                <td style="width: 16%">
                                    <dx:ASPxTextBox ID="txtYongHuH" runat="server" Width="100%" ClientEnabled="false"></dx:ASPxTextBox>
                                </td>
                                <td style="text-align: right;">用户名：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtYongHuM" runat="server" Width="100%" ClientEnabled="false"></dx:ASPxTextBox>
                                </td>
                                <td style="text-align: right;">所属局：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtJu" runat="server" Width="100%" ClientEnabled="false"></dx:ASPxTextBox>
                                </td>
                            </tr>
                        </table>
                        <table style="width: 100%;" border="0">
                            <tr>
                                <td style="text-align: right; width: 14%">总用水量：
                                </td>
                                <td style="width: 10%">
                                    <dx:ASPxTextBox ID="txtZONGYONGSL" ClientInstanceName="txtZONGYONGSL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td style="width: 10%"><span style="color: Blue; font-size: 10px">(立方米)</span></td>
                                <td style="text-align: right; width: 15%">总新水量：
                                </td>
                                <td style="width: 10%">
                                    <dx:ASPxTextBox ID="txtZONGXINSI" ClientInstanceName="txtZONGXINSI" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td style="width: 9%"><span style="color: Blue; font-size: 10px">(立方米)</span></td>
                                <td style="text-align: right; width: 14%">重复利用水量：
                                </td>
                                <td style="width: 10%">
                                    <dx:ASPxTextBox ID="txtZONGFUYL" ClientInstanceName="txtZONGFUYL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td style="width: 8%"><span style="color: Blue; font-size: 10px">(立方米)</span></td>
                            </tr>
                            <tr>
                                <td style="text-align: right">冷却水总用量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtLENGQUESZYL" ClientInstanceName="txtLENGQUESZYL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">冷却新水用量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtLENGQUESXSL" ClientInstanceName="txtLENGQUESXSL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">冷却水循环量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtLENGQUESFYL" ClientInstanceName="txtLENGQUESFYL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">工艺水总用量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtGONGYISZYL" ClientInstanceName="txtGONGYISZYL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">工艺用新水量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtGONGYISXSL" ClientInstanceName="txtGONGYISXSL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">工艺水回用量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtGONGYISFYL" ClientInstanceName="txtGONGYISFYL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">锅炉水总用量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtGUOLUSZYL" ClientInstanceName="txtGUOLUSZYL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">锅炉用新水量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtGUOLUSXSL" ClientInstanceName="txtGUOLUSXSL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">冷凝水回用量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtLENGLINGSFYL" ClientInstanceName="txtLENGLINGSFYL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">生活水总用量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtSHENGHUOYSZYL" ClientInstanceName="txtSHENGHUOYSZYL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">生活用新水量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtSHENGHUOYSXSL" ClientInstanceName="txtSHENGHUOYSXSL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">生活水回用量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtSHENGHUOYSFYL" ClientInstanceName="txtSHENGHUOYSFYL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">自来水新水量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtZILAISYSL" ClientInstanceName="txtZILAISYSL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">其他新水量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtQITAXSL" ClientInstanceName="txtQITAXSL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">串联水量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtCHUANLIANYSFYL" ClientInstanceName="txtCHUANLIANYSFYL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">地下水新水量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtDIXIASYSL" ClientInstanceName="txtDIXIASYSL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">地表水新水量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtDIBIAOSYSL" ClientInstanceName="txtDIBIAOSYSL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right">锅炉月产汽量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtGUOLUCQL" ClientInstanceName="txtGUOLUCQL" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">工业总产值：
                                    
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtZONGCHANZ" ClientInstanceName="txtZONGCHANZ" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputFloat(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(万元)</span>
                                </td>
                                <td style="text-align: right">万元产值新水量：
                                    
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtXINSHUILDH" ClientInstanceName="txtXINSHUILDH" runat="server" ReadOnly="true" ForeColor="#c0c0c0" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>

                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                                <td style="text-align: right"></td>
                                <td></td>
                                <td></td>
                            </tr>
                        </table>
                        <hr />
                        <table style="width: 100%;" border="0">
                            <tr>
                                <td style="text-align: right; width: 14%">单位产品新水量1：
                                </td>
                                <td style="width: 10%">
                                    <dx:ASPxTextBox ID="txtDANWEICPXSL1" ClientInstanceName="txtDANWEICPXSL1" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td style="width: 10%">
                                    <span style="color: Blue; font-size: 10px">(立方米/单位产品)</span>
                                </td>
                                <td style="text-align: right; width: 15%">产品1：
                                </td>
                                <td style="width: 10%">
                                    <dx:ASPxTextBox ID="txtCHANPIN1" ClientInstanceName="txtCHANPIN1" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}">
                                    </dx:ASPxTextBox>
                                </td>
                                <td style="width: 9%"></td>
                                <td style="text-align: right; width: 14%">产品月产量1：
                                </td>
                                <td style="width: 10%">
                                    <dx:ASPxTextBox ID="txtCHANPINYCL1" ClientInstanceName="txtCHANPINYCL1" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td style="width: 8%" rowspan="3"></td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">单位产品新水量2：
                                </td>
                                <td style="">
                                    <dx:ASPxTextBox ID="txtDANWEICPXSL2" ClientInstanceName="txtDANWEICPXSL2" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米/单位产品)</span>
                                </td>
                                <td style="text-align: right;">产品2：
                                </td>
                                <td style="">
                                    <dx:ASPxTextBox ID="txtCHANPIN2" ClientInstanceName="txtCHANPIN2" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}"></dx:ASPxTextBox>
                                </td>
                                <td></td>
                                <td style="text-align: right;">产品月产量2：
                                </td>
                                <td style="">
                                    <dx:ASPxTextBox ID="txtCHANPINYCL2" ClientInstanceName="txtCHANPINYCL2" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">单位产品新水量3：
                                </td>
                                <td style="">
                                    <dx:ASPxTextBox ID="txtDANWEICPXSL3" ClientInstanceName="txtDANWEICPXSL3" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米/单位产品)</span>
                                </td>
                                <td style="text-align: right;">产品3：
                                </td>
                                <td style="">
                                    <dx:ASPxTextBox ID="txtCHANPIN3" ClientInstanceName="txtCHANPIN3" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}"></dx:ASPxTextBox>
                                </td>
                                <td></td>
                                <td style="text-align: right;">产品月产量3：
                                </td>
                                <td style="">
                                    <dx:ASPxTextBox ID="txtCHANPINYCL3" ClientInstanceName="txtCHANPINYCL3" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){recountVal();}" HorizontalAlign="Right">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>
                            </tr>
                        </table>
                        <table style="width: 100%">
                            <tr>
                                <td style="text-align: right">重复利用率：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtCHONGFULYL" ClientInstanceName="txtCHONGFULYL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(%)</span>
                                </td>
                                <td style="text-align: right">冷却水循环率：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtLENGQUEXHL" ClientInstanceName="txtLENGQUEXHL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(%)</span>
                                </td>
                                <td style="text-align: right">工艺水回用率：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtGONGYIHYL" ClientInstanceName="txtGONGYIHYL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(%)</span>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right">生活水回用率：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtSHENGHUOHYL" ClientInstanceName="txtSHENGHUOHYL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(%)</span>
                                </td>
                                <td style="text-align: right">冷凝水回用率：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtLENGLINGHYL" ClientInstanceName="txtLENGLINGHYL" runat="server" Width="100%" ReadOnly="true" ForeColor="#c0c0c0" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(%)</span>
                                </td>
                                <td style="text-align: right">考核用量：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtSHIJIYL" ClientInstanceName="txtSHIJIYL" runat="server" ReadOnly="true" ForeColor="#c0c0c0" Width="100%" HorizontalAlign="Right"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="color: Blue; font-size: 10px">(立方米)</span>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <table id="GridViewButtonTable" runat="server" style="width: 100%">
                        <tr>
                            <td style="text-align: right;">
                                <hr />
                                <dx:ASPxButton ID="btnSave" runat="server" Text="保存" UseSubmitBehavior="false" AutoPostBack="false">
                                    <ClientSideEvents Click="function(s, e) {                           
                                                    save();
                                            }" />
                                </dx:ASPxButton>
                                <dx:ASPxButton ID="btnCancel" runat="server" Text="放弃" UseSubmitBehavior="false" AutoPostBack="false" ClientSideEvents-Click="function(s,e){display('init',-1);}">
                                </dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        
         <div style="display:none;">
            <dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server"></dx:ASPxGridViewExporter>
            <dx:ASPxButton ID="btnExport" runat="server" ClientInstanceName="btnExport" Text="导出EXCEL" OnClick="btnExport_Click" UseSubmitBehavior="false">
            </dx:ASPxButton>
        </div>   
    </form>
</body>
</html>


